export default {
    state:{
        isCollapse:false,
        username:String,
        url:false
    },
    mutations:{
        collapseMenu(state,param){
            state.isCollapse=!state.isCollapse
            console.log(param)
        },
        getUsername(state,param){
            state.username=param
            console.log(param);
        },
        url(state,param){
            state.url=param
            console.log(param);
        }
    }
}